package com.neusoft.neuiotms.common.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.neusoft.bizcore.web.jpa.model.AbstractModel;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@Entity
@org.hibernate.annotations.Table(appliesTo = "hn_audit_log", comment = "审计表")
@Table(name = "hn_audit_log")
public class AuditLog extends AbstractModel {
    private static final long serialVersionUID = 1L;

    @Column(length = 6, nullable = false)
    private Date logTime;

    @Column(length = 255, nullable = false)
    private String user;

    @Column(length = 255, nullable = false)
    private String remoteIp;

    @Column(length = 255, nullable = false)
    private String module;

    @Column(length = 255, nullable = false)
    private String opType;

    @Column(length = 255, nullable = false)
    private String opText;

}
